package com.beadwallet.quartz;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@SpringBootApplication
@Controller
@ComponentScan("com.beadwallet.quartz")
@MapperScan("com.beadwallet.quartz.dao")
public class QuartzCloudServiceApplication {

    @RequestMapping("/")
    public String index() {
        return "redirect:/JobManager.html";
    }
    public static void main(String[] args) {

        SpringApplication.run(QuartzCloudServiceApplication.class, args);
    }
}
